<template lang="html">
  <div class="strategyhot">

      <div class="strategyhot-box">
          <HotStrategy :data="containerData" />
      </div>
  </div>


  </div>
</template>

<script>
import HotStrategy from "../../../components/HotStrategy/hotstrategy.vue"
export default {
  name:"StrategyHot",
  data(){
    return {
      containerData:[]
    }
  },
  components:{
    HotStrategy
  }
  ,
  mounted(){
    const url = this.HOST + "/api/indexData"
    this.$axios.get(url)

    .then(res =>{
      this.containerData = res.data.result.index;
      console.log(this.containerData);
    })
    .catch(error =>{
      console.log(error);
    })
  }
}
</script>

<style lang="css" scoped>
</style>
